﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ServiceModel;

namespace BuzzwordBingo.Interface.API
{
    /// <summary>
    /// WCF service contract to play a bingo event
    /// </summary>
    [ServiceContract]
    public interface IPlayBingoEvent
    {
        [OperationContract]
        BingoEventDto JoinBingoEvent(int EventId);

        [OperationContract]
        ParticipantDto PlayAs(int EventId, string Email);

        [OperationContract]
        void MarkBuzzWord(int EventId, string Email, int Index);

        [OperationContract]
        ParticipantDto GetWinner(int EventId);
    }
}
